@import '../../base/base.less';
#indexPublish {
    .publish {
        margin-top: 40px;
        border-bottom: 1px solid @color-border;
        li {
            margin-right: 20px;
            width: 100px;
            font-size: 18px;
            height: 40px;
            line-height: 40px;
            text-align: center;
            color: @color-txt1;
            background-color: #f2f2f2;
            &.active {
                color: #fff;
                background-color: @base-color;
            }
        }
    }
    .card{
        border: 1px solid @color-border;
        padding-top: 40px;
        padding-left: 20px;
        padding-bottom: 52px;
        .one-input{
            position: relative;
            margin-bottom: 10px;
            width: 385px;
            height: 44px;
            padding: 0 20px;
            line-height: 44px;
            border: 1px solid transparent;
            font-size: 14px;
            background-color: #f7f7f7;
            .del,.sel{
                position: absolute;
                right: 16px;
                top: 50%;
                transform: translateY(-50%);
            }
//          &:after{
//              content: 'x';
//              display: block;
//              position: absolute;
//              right: 16px;
//              top: 50%;
//              transform: translateY(-50%);
//          }
            &.add{
                text-align: center;
                font-size: 36px;
                border: 1px solid @color-border;
                color: #CCCCCC;
                &:after{
                    display: none;
                    content: '';
                }
            }
        }
        .unit{
            font-size: 14px;
            color: @color-txt1;
            margin-left: 12px;
        }
        &.one-form{
            margin-top: 30px;
            .rows:nth-of-type(1){
                margin-bottom: 20px;
                font-size: 16px;
            }
            .left,.right{
                .one-input{
                    background-color: #f7f7f7;
                    
                }
            }
        }
        &.two-form{
            
            .rows{
                margin-bottom: 30px;
                
                span{
                    flex: 85px 0;
                }
                .one-input{
                    margin-bottom: 0;
                    width: 300px;
                }
                .marks{
                    align-items: flex-start;
                    >span{
                        display: block;
                        padding-top: 16px;
                    }
                }
            }
        }

        .textarea{
            width: 886px;
        }
    }
    .two-form:nth-of-type(1){
        margin-top: 24px;
    }
    .types{
        margin-top: 40px;
        overflow: hidden;
        li{
            float: left;
            margin-right: 20px;
            width: 80px;
            height: 36px;
            line-height: 36px;
            text-align: center;
            border: solid 1px #CCCCCC;
            &.active{
                border: solid 1px @base-color;
                background-image: url(../../../assets/wuliu/selected.png);
                background-repeat: no-repeat;
                background-position: right bottom;
            }
            
        }
    }
}